Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
Home | Book List | Contents | Index | Master Index | Feedback

# Delete (OCollection) Method

Applies To

OCollection

Description

Deletes an element at given index. Available only in an OCollection of Type OTYPE_TABLE (Nested Table).

Usage

void Delete(int index) const throw(OException)

Arguments

index | An integer specifying the index of the element to be deleted.

Remarks

The delete operation creates holes in the client side Nested Table. This method returns an error if the element at the given index has already been deleted or if the given index is not valid for the given table.